package com.goldcup.service;

import com.github.pagehelper.PageInfo;
import com.goldcup.model.User;

public interface UserService {

    User addUser(User user);

    PageInfo<User> findAllUser(int pageNum, int pageSize);

    User getUser(int id);

    boolean login(String name, String pwd);

    boolean checkRepeat(String name);

}
